package com.sinosoft.ptas.entity;

import java.io.Serializable;
import java.util.Arrays;
import java.util.Date;
import java.util.List;

/**
 * 公告实体
 * @author lianWuJun
 * @time   2017年2月21日 下午6:26:25
 */
public class NoticeEntity implements Serializable {

	private static final long serialVersionUID = 1L;
	private String id;//编号（不是序号）
	private String noticeName;//公告名称
	private Date publishTime;//发布时间
	private String attachmentUrl;//附件地址
	private String clickNum;//点击量
	private String downNum;//下载量
	private String content;//内容
	private String[] noticeObject;//公告对象 用来获取司局的信息
	private String noticeObjects;//公告对象  存入公告表
	private String creater;//创建人
	private Date createTime;//创建时间
	private String updater;//更新人
	private Date updateTime;//更新时间
	private List<OrganizationNoticeRefEntity> OrganizationNoticeRefList;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getNoticeName() {
		return noticeName;
	}
	public void setNoticeName(String noticeName) {
		this.noticeName = noticeName;
	}
	public Date getPublishTime() {
		return publishTime;
	}
	public void setPublishTime(Date publishTime) {
		this.publishTime = publishTime;
	}
	public String getAttachmentUrl() {
		return attachmentUrl;
	}
	public void setAttachmentUrl(String attachmentUrl) {
		this.attachmentUrl = attachmentUrl;
	}
	public String getClickNum() {
		return clickNum;
	}
	public void setClickNum(String clickNum) {
		this.clickNum = clickNum;
	}
	public String getDownNum() {
		return downNum;
	}
	public void setDownNum(String downNum) {
		this.downNum = downNum;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String[] getNoticeObject() {
		return noticeObject;
	}
	public void setNoticeObject(String[] noticeObject) {
		this.noticeObject = noticeObject;
	}
	public String getCreater() {
		return creater;
	}
	public void setCreater(String creater) {
		this.creater = creater;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getUpdater() {
		return updater;
	}
	public void setUpdater(String updater) {
		this.updater = updater;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	public String getNoticeObjects() {
		return noticeObjects;
	}
	public void setNoticeObjects(String noticeObjects) {
		this.noticeObjects = noticeObjects;
	}
	public List<OrganizationNoticeRefEntity> getOrganizationNoticeRefList() {
		return OrganizationNoticeRefList;
	}
	public void setOrganizationNoticeRefList(
			List<OrganizationNoticeRefEntity> organizationNoticeRefList) {
		OrganizationNoticeRefList = organizationNoticeRefList;
	}
	@Override
	public String toString() {
		return "NoticeEntity [id=" + id + ", noticeName=" + noticeName
				+ ", publishTime=" + publishTime + ", attachmentUrl="
				+ attachmentUrl + ", clickNum=" + clickNum + ", downNum="
				+ downNum + ", content=" + content + ", noticeObject="
				+ Arrays.toString(noticeObject) + ", noticeObjects="
				+ noticeObjects + ", creater=" + creater + ", createTime="
				+ createTime + ", updater=" + updater + ", updateTime="
				+ updateTime + ", OrganizationNoticeRefList="
				+ OrganizationNoticeRefList + "]";
	}
	
}
